package pl.edu.agh.io.gpstracker.client.action;

import net.customware.gwt.dispatch.shared.Action;
import pl.edu.agh.io.gpstracker.client.dto.UserDto;
import pl.edu.agh.io.gpstracker.client.dto.UserType;
import pl.edu.agh.io.gpstracker.client.result.CollectionResult;

/**
 * 
 * 
 * @author wkedzior
 * 
 */
public class FindAllUsersAction implements Action<CollectionResult<UserDto>> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2133733027214497118L;

	private UserType type;

	public FindAllUsersAction() {
	}

	public FindAllUsersAction(UserType type) {
		super();
		this.type = type;
	}

	public UserType getType() {
		return type;
	}

	public void setType(UserType type) {
		this.type = type;
	}

}
